//
//  Global.m
//  eGiftr
//
//  Created by Phien Tram on 9/13/13.
//  Copyright (c) 2013 eGiftr. All rights reserved.
//

#import "Global.h"

@implementation Global

+ (Global *)sharedGlobal
{
    static id instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[self alloc] init];
    });
    
    return instance;
}

- (id)init
{
    self = [super init];
    if(self)
    {
        _allKeywords = [[NSArray alloc] init];
        _recommendedKeywords = [[NSArray alloc] init];
    }
    
    return self;
}

@end
